//
//  JYShopCartBottomView.h
//  JYFarm
//
//  Created by 花花 on 2017/10/21.
//  Copyright © 2017年 花花. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSUInteger, ShopBtnType) {
    ShopBtnType_delete, //批量删除
    ShopBtnType_empty, //清空
    ShopBtnType_All, //全选
    ShopBtnType_CommitOrder, //提交订单
};
@interface JYShopCartBottomView : UIView


@property(nonatomic,copy)void(^HandlerAllBtnOnClick)(BOOL isSelected); //全选

@property(nonatomic,copy)void(^HandlerCommitOrderBtnOnClick)(); //提交订单


- (void)configureShopcartBottomViewWithTotalPrice:(double)totalPrice
                                       totalCount:(double)totalCount
                                    isAllselected:(BOOL)isAllSelected;

@end




@interface JYShopCartTopView : UIView

@property(nonatomic,copy)void(^HandlerDeleteBtnOnClick)(); //删除

@property(nonatomic,copy)void(^HandlerEmptyBtnOnClick)(); //清空
@end
